package com.mao.service.warehouse;

import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.mao.model.organization.OrganizationClass;
import com.mao.model.warehouse.WareHouseClass;

@Transactional(rollbackFor=Exception.class,propagation=Propagation.REQUIRED)
public interface IWareHouseClassService<T>{
	public List<WareHouseClass> getAllWareHouseClass(Long storeid);

	public List<WareHouseClass> getAllWareHouseClass();
	
	public WareHouseClass saveWareHouseClass(WareHouseClass wc);

	public WareHouseClass updateWareHouseClass(WareHouseClass wc);

	public WareHouseClass getWareHouseClassById(long id);
	
	// 判断该分类是否可以删除
	public String valDelWHClass(long id);
}
